package com.comet.service;

import com.comet.domain.Course;
import org.springframework.web.bind.annotation.RequestBody;

public interface CourseService {

    Course findById(int courseId);

    int saveVideo(@RequestBody Course course);

    int deductStockBySkuId(Integer skuId, Integer num);

    void addCourse(Course course);
}
